/**
 * <b>项目名：</b>hclv-web<br/>  
 * <b>包名：</b>com.flea.hclv.service.impl<br/>  
 * <b>文件名：</b>HHotelService.java<br/>  
 * <b>版本信息：</b>1.0<br/>  
 * <b>日期：</b>2018年9月12日 下午3:49:02<br/>  
 * <b>COPYRIGHT 2010-2012 ALL RIGHTS RESERVED 虫子科技</b>-版权所有<br/>
 */
package com.flea.hclv.service;

import java.util.List;

import javax.servlet.http.HttpServletRequest;

import com.flea.hclv.model.entity.HAddress;
import com.flea.hclv.model.entity.HHotel;
import com.flea.hclv.model.entity.HResourceRelation;
import com.flea.system.bean.FleaPage;

/**
 * @description
 * @createTime 2018年9月12日 下午3:49:02
 * @modifyTime 
 * @author myflea@163.com
 * @version 1.0
 */
public interface HHotelService {
	public boolean saveOrUpdate(HHotel entity,HAddress addressEntity,String userId);

	public FleaPage<HHotel> findForGird(String queryName, String queryLevel, String queryProvince, String queryCity, String queryZone, int curPage, int pageSize);

	public boolean deleteByIds(String ids, String userId);

	public List<HHotel> queryByOrgId(String orgId);

	public List<HHotel> queryAll();

	public boolean saveOrUpdate(HHotel hotel, HAddress address, String userId,
			List<HResourceRelation> filesRelation);
	/**
	 * 获取自己所属的服务组织的酒店
	 * @description
	 * @methodName findForGirdBySelf
	 * @param
	 * @returnType FleaPage<HHotel>   
	 * @throw
	 */
	public FleaPage<HHotel> findForGirdBySelf(HttpServletRequest request,String queryName,
			String queryLevel, String queryProvince, String queryCity,
			String queryZone, int curPage, int pageSize);


}
